package com.ruoyi.warehouse.service.impl;

import com.ruoyi.warehouse.domain.Detail;
import com.ruoyi.warehouse.mapper.DetailMapper;
import com.ruoyi.warehouse.service.IDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lemon
 * @date 2025/01/13 21:54
 **/
@Service
public class DetailServiceImpl implements IDetailService {

    @Autowired
    private DetailMapper detailMapper;

    @Override
    public void saveDetail(List<Detail> collect) {
        detailMapper.insertBatch(collect);
    }
}
